package com.cnhis.cloudhealth.clinical.hosnurse.hosadviceprint.dao;

import java.util.List;
import java.util.Map;

import org.springframework.stereotype.Repository;

import com.cnhis.cloudhealth.commons.dao.BaseDao;
import com.cnhis.cloudhealth.commons.utils.Page;
@Repository
public class HosAdvicePrintDao extends BaseDao{
   
	public Page requestBillsTotal(Map map,int currPage,int pageSize)throws Exception{
		return queryForPage("HosAdvicePrint.requestBillsTotal", map, currPage, pageSize);
		
	}
	public Page requestBillsDetail(Map map,int currPage,int pageSize)throws Exception{
		return queryForPage("HosAdvicePrint.requestBillsDetail", map, currPage, pageSize);
		
	}
	public List finishedPrintRows(Map map)throws Exception{
		return queryForList("HosAdvicePrint.finishedPrintRows", map);
	}
	public List finishedPrintPages(Map map)throws Exception{
		return queryForList("HosAdvicePrint.finishedPrintPages", map);
	}
	public List printMaxRows(Map map)throws Exception{
		return queryForList("HosAdvicePrint.printMaxRows", map);
	}
	public List unPrintRows(Map map)throws Exception{
		return queryForList("HosAdvicePrint.unPrintRows", map);
	}
	public String getOneRow()throws Exception{
		return (String) queryForExtObject("HosAdvicePrint.getOneRow", null);
	}
	public List getCheckResult(Map map)throws Exception{
		return queryForList("HosAdvicePrint.getOneRow", map);
	}
}
